﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Sales_Office : DataObject
    {
        [Column]
        public string City { get { return _City; } set { _City = value; EntityState.FieldChange("City"); } } private string _City; public static FieldInfo city = new FieldInfo("m_Sales_Office", "City");
        [Column]
        public string Sales_Office { get { return _Sales_Office; } set { _Sales_Office = value; EntityState.FieldChange("Sales_Office"); } } private string _Sales_Office; public static FieldInfo sales_Office = new FieldInfo("m_Sales_Office", "Sales_Office");
        [Column]
        public string Region_Code_Name { get { return _Region_Code_Name; } set { _Region_Code_Name = value; EntityState.FieldChange("Region_Code_Name"); } } private string _Region_Code_Name; public static FieldInfo region_Code_Name = new FieldInfo("m_Sales_Office", "Region_Code_Name");
        [Column]
        public string City_Code { get { return _City_Code; } set { _City_Code = value; EntityState.FieldChange("City_Code"); } } private string _City_Code; public static FieldInfo city_Code = new FieldInfo("m_Sales_Office", "City_Code");
        [Column]
        public string City_Class { get { return _City_Class; } set { _City_Class = value; EntityState.FieldChange("City_Class"); } } private string _City_Class; public static FieldInfo city_Class = new FieldInfo("m_Sales_Office", "City_Class");
        [Column]
        public string City_Code_Name { get { return _City_Code_Name; } set { _City_Code_Name = value; EntityState.FieldChange("City_Code_Name"); } } private string _City_Code_Name; public static FieldInfo city_Code_Name = new FieldInfo("m_Sales_Office", "City_Code_Name");
        [Column]
        public string Transportation_Zone { get { return _Transportation_Zone; } set { _Transportation_Zone = value; EntityState.FieldChange("Transportation_Zone"); } } private string _Transportation_Zone; public static FieldInfo transportation_Zone = new FieldInfo("m_Sales_Office", "Transportation_Zone");
        [Column]
        public string County_Code { get { return _County_Code; } set { _County_Code = value; EntityState.FieldChange("County_Code"); } } private string _County_Code; public static FieldInfo county_Code = new FieldInfo("m_Sales_Office", "County_Code");
        [Column]
        public string Project_City { get { return _Project_City; } set { _Project_City = value; EntityState.FieldChange("Project_City"); } } private string _Project_City; public static FieldInfo project_City = new FieldInfo("m_Sales_Office", "Project_City");

        
        [Column]
        public string Postal_Code { get { return _Postal_Code; } set { _Postal_Code = value; EntityState.FieldChange("Postal_Code"); } } private string _Postal_Code; public static FieldInfo postal_Code = new FieldInfo("m_Sales_Office", "Postal_Code");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("m_Sales_Office", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("m_Sales_Office", "Status");

    }
}
